Cloud provider cluster failed to create the database
Some cloud service providers' Persistent Volume (PV) auto-creation tools do not allow components to execute chmod
and chown
commands within the Persistent Volume, leading to the failure of database component startup.
Solution Approaches:
- Grant the pod operation permissions to the Persistent Volume path folder on the host machine.
- Configure the database to skip the execution of
chmod
andchown
during initialization. For instance, Clickhouse can bypass these commands by setting the environment variableCLICKHOUSE_DO_NOT_CHOWN=1
. - Host the database according to the 《Advanced》.